type collectionCardType = {
    height: number,
    collection: collectionType,
    showToolbar?: boolean,
}

// 搭配内容
type collectionType = {
    id: string,
    publisher: {
        avatar: string,
        name: string
    },
    content: {
        clothes: Array<string>,
        text: string,
        like: number
    },
    user?: {
        isLike: boolean, // 是否点赞
    }
}

type replyType = {
    id: string,
    rid: string, // 回复id
    text: string,
    userId: string,
    userName: string
}

type commentType = {
    id: string,
    date: string,
    publisher: {
        id: string,
        avatar: string,
        name: string
    },
    content: {
        id: string,
        text: string
    },
    reply: Array<replyType>
}



export { collectionCardType, collectionType, commentType }